package com.yj.lottery_system.controller.result;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class FindActivityListResult implements Serializable {
    //活动总数
    private Integer total;
    //当前页活动列表
    private List<FindActivityListResult.ActivityInfo> records;
    @Data
    public static class  ActivityInfo implements Serializable {
        //活动id
        private Long activityId;

        //活动名
        private String activityName;

        //活动描述
        private String description;

        //活动是否结束
        private Boolean valid;


    }
}
